const fetchRoleList = () => {
  let list = [];
  for (let index = 0; index < 3; index++) {
    list = list.concat({
      "id|+1": index + 1,
      title: "@cname",
      url: "@image('960x480')",
    });
  }
  return list;
};

export default [
  {
    url: "/api/swiper/list",
    method: "get",
    response: (options) => {
      const list = fetchRoleList();
      return {
        code: 200,
        data: list,
      };
    },
  },
];
